package com.woniu.dao;

import com.woniu.pojo.CommunityActivityUser;
import org.apache.ibatis.annotations.Select;

public interface CommunityActivityUserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CommunityActivityUser record);

    int insertSelective(CommunityActivityUser record);

    CommunityActivityUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CommunityActivityUser record);

    int updateByPrimaryKey(CommunityActivityUser record);

    @Select(value = "select * from community_activity_user where cau_activity_id=#{coActivityId} and cau_user_id=#{coUserId}")
    CommunityActivityUser selectById(Integer coActivityId, Integer coUserId);
}